<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>下载文件页面</title>
    <link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='css/download.css') }}"/>
</head>
<body>
<div id="main">
    <h2 class="title">可供下载的文件</h2>
    <ul>
        {% for file in fl %}
            <li><a href="{{url_for('download_file', filename=parent_path+file)}}">  {{ file }} </a></li>
        {% endfor %}
    </ul>
<p class="back">
    <button class="back" onclick="go()">回退</button>
</p>
</div>
</body>
</html>
<script type="text/javascript">
    function go(){
        window.history.go(-1)
    }
</script>